package com.heima.model.common.pojos.article;

import com.heima.model.common.annotation.IdEncrypt;
import lombok.Data;

import java.util.Date;

@Data
public class ApCollection {
    //id
    private Long id;
   //用户id
    private Integer entryId;
    //文章id
    @IdEncrypt
    private Long articleId;
    //0:文章 1:动态
    private Short type;
    //创建时间
    private Date collectionTime;
    //发布时间
    private Date publishedTime;
}
